package com.sloan.community.common.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NotificationVO {

    private Long notificationId;

    private Long fromUserId ;

    private String fromNickName;

    private String fromUsername;

    private String fromAvatarUrl;

    private String fromAddress;

    private Long toUserId ;

    private String toNickName;

    private String toUsername;

    private String toAvatarUrl;

    private String toAddress;

    private Long articleId ;

    private String articleUsername;

    private String title;

    private Long commentId ;

    /**是否回复已经被删除*/
    private Boolean noDel;

    private String content;

    /** 是否已读(false-没读，true-已读) */
    private Boolean status ;

    /** 通知类型(0-文章通知，1-评论通知) */
    private Integer type;

    private String typeMsg;

    private LocalDateTime createdTime ;
}
